<?php namespace Siyuanliu\Filmcms\Controllers;

use BackendMenu;
use Backend\Classes\Controller;

/**
 * Gather Back-end Controller
 */
class Gather extends Controller
{
    public $implement = [
        'Backend.Behaviors.FormController',
        'Backend.Behaviors.ListController'
    ];

    public $formConfig = 'config_form.yaml';
    public $listConfig = 'config_list.yaml';

    public function __construct()
    {
        parent::__construct();

        BackendMenu::setContext('Siyuanliu.Filmcms', 'filmcms', 'gather');
    }
    public function create()
  {
    echo 'gather create';die;
      //
      // Do any custom code here
      //

      // Call the FormController behavior update() method
      // return $this->asExtension('FormController')->update($recordId, $context);
  }
}
